import random
import string
code = ""
for i in range(4):
    code += random.choice(string.ascii_letters)
print("生成的验证码为：", code)
